<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>system</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="../../css/public.css" media="all">
    <style>
        body {
            background-color: #ffffff;
            overflow: scroll!important;
        }
        .layui-textarea{
            min-height: 37px;
            height: 20px;
            line-height: 20px;
        }
    </style>
</head>
<body>
<div class="layui-form layuimini-form edit-area-panel">
    <div class="layui-form-item">
        <div class="layui-col-md6">
            <label class="layui-form-label required">船端影视服务</label>
            <div class="layui-input-block" style="width: 100%;">
                <input type="text" id="serverUrl" disabled name="serverUrl" lay-verify="required" lay-reqtext="密码不能为空" placeholder="请输入密码" value="" class="layui-input" style="width:80%;">
            </div>
        </div>
	</div>

    <div class="layui-form-item layui-form-text">
        <div style="margin: 0 auto;width: 91%;">
            <div style="font-size: 16px;padding-bottom: 15px;">影视API接口</div>
            <div class="layui-collapse" lay-accordion>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">1、启动APP先注册设备</h2>
                    <div class="layui-colla-content layui-show">
                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求地址</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <input type="text" id="address1" disabled  value="/device.api" class="layui-input" style="width:80%;">

                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求参数</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="params1" class="layui-textarea" lay-verify="required" placeholder="请输入请求参数" style="width:80%;">{"MAC":"DD:DD:DD:DD:DD:DD"}</textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label">请求结果</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="result1" class="layui-textarea"  placeholder="请输入请求结果" style="width:80%;height:300px;"></textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <button class="layui-btn layui-btn-normal" style="width: 100%;" onclick="testFun(1)">点击测试</button>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">2、注册完成后设置读取的音频格式</h2>
                    <div class="layui-colla-content">
                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求地址</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <input type="text" id="address2" disabled  value="/device.api" class="layui-input" style="width:80%;">

                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求参数</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="params2" class="layui-textarea" lay-verify="required" placeholder="请输入请求参数" style="width:80%;">{"MAC":"DD:DD:DD:DD:DD:DD"}</textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label">请求结果</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="result2" class="layui-textarea"  placeholder="请输入请求结果" style="width:80%;height:300px;"></textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <button class="layui-btn layui-btn-normal" style="width: 100%;" onclick="testFun(2)">点击测试</button>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">3、获取影⽚分类</h2>
                    <div class="layui-colla-content">

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求地址</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <input type="text" id="address3" disabled  value="/sauna/index.php/SmartTvAPI/API/index/Payfilm/payfilm/getGroupTypeList" class="layui-input" style="width:80%;">

                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求参数</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="params3" class="layui-textarea" lay-verify="required" placeholder="请输入请求参数" style="width:80%;">{"mac":"DD:DD:DD:DD:DD:DD","filmsource":"2"}</textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label">请求结果</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="result3" class="layui-textarea"  placeholder="请输入请求结果" style="width:80%;height:300px;"></textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <button class="layui-btn layui-btn-normal" style="width: 100%;" onclick="testFun(3)">点击测试</button>
                            </div>
                        </div>

                    </div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">4、分类获取影⽚</h2>
                    <div class="layui-colla-content">

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求地址</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <input type="text" id="address4" disabled  value="/sauna/index.php/SmartTvAPI/API/index/Payfilm/payfilm/getFilmListByType" class="layui-input" style="width:80%;">

                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求参数</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="params4" class="layui-textarea" lay-verify="required" placeholder="请输入请求参数" style="width:80%;">{"mac":"DD:DD:DD:DD:DD:DD","filmsource":"2"}</textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label">请求结果</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="result4" class="layui-textarea"  placeholder="请输入请求结果" style="width:80%;height:300px;"></textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <button class="layui-btn layui-btn-normal" style="width: 100%;" onclick="testFun(4)">点击测试</button>
                            </div>
                        </div>

                    </div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">5、获取影⽚详情</h2>
                    <div class="layui-colla-content">

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求地址</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <input type="text" id="address5" disabled  value="/zhdx.api/film/getFilmDetail" class="layui-input" style="width:80%;">

                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求参数</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="params5" class="layui-textarea" lay-verify="required" placeholder="请输入请求参数" style="width:80%;">{"mac":"DD:DD:DD:DD:DD:DD","filmsource":"2","movieId":"19768"}</textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label">请求结果</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="result5" class="layui-textarea"  placeholder="请输入请求结果" style="width:80%;height:300px;"></textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <button class="layui-btn layui-btn-normal" style="width: 100%;" onclick="testFun(5)">点击测试</button>
                            </div>
                        </div>

                    </div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">6、获取播放地址</h2>
                    <div class="layui-colla-content">

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求地址</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <input type="text" id="address6" disabled  value="/zhdx.api/film/getPlayUrl" class="layui-input" style="width:80%;">

                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求参数</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="params6" class="layui-textarea" lay-verify="required" placeholder="请输入请求参数" style="width:80%;">{"mac":"DD:DD:DD:DD:DD:DD","filmsource":"2","movieId":"19768"}</textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label">请求结果</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="result6" class="layui-textarea"  placeholder="请输入请求结果" style="width:80%;height:300px;"></textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <button class="layui-btn layui-btn-normal" style="width: 100%;" onclick="testFun(6)">点击测试</button>
                            </div>
                        </div>

                    </div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">7、模糊搜索影⽚</h2>
                    <div class="layui-colla-content">

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求地址</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <input type="text" id="address7" disabled  value="/sauna/index.php/SmartTvAPI/API/index/Payfilm/payfilm/searchFilm" class="layui-input" style="width:80%;">

                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求参数</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="params7" class="layui-textarea" lay-verify="required" placeholder="请输入请求参数" style="width:80%;">{"mac":"DD:DD:DD:DD:DD:DD","filmsource":"2","keyword":""}</textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label">请求结果</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="result7" class="layui-textarea"  placeholder="请输入请求结果" style="width:80%;height:300px;"></textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <button class="layui-btn layui-btn-normal" style="width: 100%;" onclick="testFun(7)">点击测试</button>
                            </div>
                        </div>

                    </div>
                </div>
                <div class="layui-colla-item">
                    <h2 class="layui-colla-title">8、获取推荐影⽚</h2>
                    <div class="layui-colla-content">

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求地址</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <input type="text" id="address8" disabled  value="/sauna/index.php/SmartTvAPI/API/index/Payfilm/payfilm/getRecommendFilm" class="layui-input" style="width:80%;">

                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求参数</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="params8" class="layui-textarea" lay-verify="required" placeholder="请输入请求参数" style="width:80%;">{"mac":"DD:DD:DD:DD:DD:DD","filmsource":"2","size":"10"}</textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label">请求结果</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="result8" class="layui-textarea"  placeholder="请输入请求结果" style="width:80%;height:300px;"></textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <button class="layui-btn layui-btn-normal" style="width: 100%;" onclick="testFun(8)">点击测试</button>
                            </div>
                        </div>

                    </div>
                </div>
                <div class="layui-colla-item" style="display: none;">
                    <h2 class="layui-colla-title">9、上报播放记录</h2>
                    <div class="layui-colla-content">

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求地址</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <input type="text" id="address9" disabled  value="/zhdx.api/film/upPlayState" class="layui-input" style="width:80%;">

                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label required">请求参数</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="params9" class="layui-textarea" lay-verify="required" placeholder="请输入请求参数" style="width:80%;">{"MAC":"DD:DD:DD:DD:DD:DD"}</textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <label class="layui-form-label">请求结果</label>
                                <div class="layui-input-block" style="width: 100%;">
                                    <textarea id="result9" class="layui-textarea"  placeholder="请输入请求结果" style="width:80%;height:300px;"></textarea>
                                </div>
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <div class="layui-col-md12">
                                <button class="layui-btn layui-btn-normal" style="width: 100%;" onclick="testFun(9)">点击测试</button>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>

</div>
<script src="../../lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script src="../../js/lay-config.js?v=1.0.4" charset="utf-8"></script>
<script src="../../lib/jquery-3.4.1/jquery-3.4.1.min.js" charset="utf-8"></script>
<script src="../../js/crypto-js.min.js"></script><script src="../../api/util.js" charset="utf-8"></script>
<script src="../../api/request.js" charset="utf-8"></script>
<!-- import Vue before Element -->
<script src="../../js/vue.js"></script>
<!-- import JavaScript -->
<script src="../../lib/element-ui/lib/index.js"></script>
<script src="../../js/custom/server/api.js?t=20240920"></script>
</body>
</html>